<?php
$data = array(
	'leschaco'=>'Leschaco',
	'classic'=>'Classic',
	'angrybirds'=>'Angry Birds',
);
$select = Yii::app()->theme->name;
$htmlOptions = array(
	'class'=>'theme-roller'
);
echo CHtml::form('', 'post', $htmlOptions);
echo CHtml::dropDownList('_theme', $select, $data);
echo CHtml::endForm();

Yii::app()->clientScript->registerScript(
	'change-theme',
	"
$('.theme-roller select').change(function() {
	$(this).parent().submit();
});
	"
);
?>